﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DesignPattern.MementoPattern
{
    //管理者
    public class Caretaker
    {
        //得到或者设置备忘录
        private Memento memento;
        public Memento Mememto
        {
            get { return memento; }
            set { memento = value; }
        }
    }
}
